<template>
  <div>
      <h5>我是zia</h5>
      <button @click="fun()">点我触发中央事件总线,传值给zib</button>
  </div>
</template>

<script>
import Eventbus from "@/eventBus"
export default {
    methods:{
        fun(){
            Eventbus.$emit("zizi","我是同胞传值zia传过来的")
        }
    }

}
</script>

<style>

</style>